package com.slimbloody;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "model")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ModelConfig {
  private ModelSpec modelSpec;

  @Data
  @AllArgsConstructor
  @NoArgsConstructor
  public static class ModelSpec {
    private String name;
    private Long version;
    private String signatureName;
    private String label;
  }
}

